﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Love.Awesome.TMX
{
    public class Data
    {
        [XmlElement("encoding")]
        public EncodingEnum Encoding;

        [XmlElement("compression")]
        public CompressionEnum Compression;

        [XmlText]
        public string Value;

        [XmlElement(Type = typeof(TileLayerTile), ElementName = "tile")]
        public List<TileLayerTile> Tiles;

        [XmlElement("chunk")]
        public List<Chunk> Chunks;
    }
}
